<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="SiftDetailsList, App_Web_xtpq4zcp" %>

<%@ Register   Assembly="AjaxControlToolkit"
    Namespace="AjaxControlToolkit"
    TagPrefix="ajaxToolkit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">

.green-colour{
background-color:#8dc234;
font-family:Tahoma;
font-size:17px;
padding-left:4px;
color:#ffffff;
margin:2px;
text-decoration:none;
font-weight:bold;
}
.user{
font-family:Tahoma;
font-size:12px;
color:#124c56;
margin:4px;
text-decoration:none;
}
        .style1
        {
            font-family: verdana;
            color: #050505;
            font-size: 11px;
            line-height: 15px;
            text-align: left;
        }
        .style3
        {
            font-family: Verdana;
            font-size: 9pt;
            font-weight: 700;
        }
                        .card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
      margin-top: -37px;
    padding: 7px !important;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 8px 8px !important;
    vertical-align: middle;
    border-color: #ddd;
}
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <center>
      <!--<asp:Label ID="lblmsg" runat="server" Font-Bold="True" Font-Size="13pt" 
        ForeColor="#0099CC" Text="Shift List"></asp:Label>
        <br />
        <asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Names="verdana" 
            Font-Size="10pt" ForeColor="Red"></asp:Label>-->
 
      
 <div class="main-panel">
        <div class="content">
        <div class="container" id="siftdetaillist" runat="server">

        <div class="row dash-pane2">
        <div class="card">
                <div class="card-header card-header-warning" id="cardheadergreen" runat="server" style="text-align:left">
                  <h4 class="card-title"><i class="fa fa-list fa-fw"></i> <asp:Label ID="lblListofShift" runat="server" Text="List of Shift"></asp:Label> </h4>
                </div>
                <div class="card-body table-responsive" style="height:300px; over-flow-x:hidden; overflow-y:scroll">
        <asp:GridView ID="Grid1" runat="server"  class="table table-bordered table-hover table-striped"
          AutoGenerateColumns="False" CellPadding="3" DataKeyNames="ShiftId" 
           >
          <Columns>
              <asp:TemplateField HeaderText="Select">
                <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" Width="30px" />
                  <ItemTemplate>
                      <asp:CheckBox ID="cbRows" runat="server" />
                  </ItemTemplate>
                  
              </asp:TemplateField>
              <asp:HyperLinkField DataNavigateUrlFields="ShiftId" 
                  DataNavigateUrlFormatString="SiftDetails.aspx?RowId={0}" ControlStyle-ForeColor="#006699"
                  DataTextField="ShiftCode" HeaderText="Shift Code" 
                  SortExpression="ShiftCode">
             
              </asp:HyperLinkField>
              <asp:BoundField DataField="ShiftName" HeaderText=" Shift Name" SortExpression="ShiftName">
               
            </asp:BoundField>
            <asp:BoundField DataField="StartTime" HeaderText=" Start Time" SortExpression="StartTime">
               
            </asp:BoundField>
            <asp:BoundField DataField="EndTime" HeaderText=" End Time" SortExpression="EndTime">
               
            </asp:BoundField>
          <%--  <asp:BoundField DataField="EndTime" HeaderText=" End Time" SortExpression="EndTime">
                <ItemStyle CssClass="gItmTxt" HorizontalAlign="Left" Height="21px" Width="30px" Wrap="true"/>
                <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" HorizontalAlign="Left"
                    Width="30px" Wrap="False" />
                <FooterStyle Width="30px" Wrap="False" />
            </asp:BoundField>--%>
             <asp:BoundField DataField="ShiftDuration" HeaderText="Shift Hours" SortExpression="ShiftDuration">
               
            </asp:BoundField>
           <%-- <asp:BoundField DataField="ShiftDuration" HeaderText=" DurationTime" SortExpression="ShiftDuration">
                <ItemStyle CssClass="gItmTxt" HorizontalAlign="Left" Height="21px" Width="30px" Wrap="true"/>
                <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" HorizontalAlign="Left"
                    Width="30px" Wrap="False" />
                <FooterStyle Width="30px" Wrap="False" />
            </asp:BoundField>--%>
         <%--<asp:BoundField DataField="Break1Begun" HeaderText=" Break1 Time" SortExpression="Break1Begun">
                <ItemStyle CssClass="gItmTxt" HorizontalAlign="Left" Height="21px" Width="30px" Wrap="true"/>
                <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" HorizontalAlign="Left"
                    Width="30px" Wrap="False" />
                <FooterStyle Width="30px" Wrap="False" />
            </asp:BoundField>--%>
            <%-- <asp:BoundField DataField="Break1End" HeaderText=" End1 Time" SortExpression="Break1End">
                <ItemStyle CssClass="gItmTxt" HorizontalAlign="Left" Height="21px" Width="30px" Wrap="true"/>
                <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" HorizontalAlign="Left"
                    Width="30px" Wrap="False" />
                <FooterStyle Width="30px" Wrap="False" />
            </asp:BoundField>--%>
        <%--<asp:BoundField DataField="Break1Duration" HeaderText=" Break 1 Duration" SortExpression="Break1Duration">
                <ItemStyle CssClass="gItmTxt" HorizontalAlign="Left" Height="21px" Width="30px" Wrap="true"/>
                <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" HorizontalAlign="Left"
                    Width="30px" Wrap="False" />
                <FooterStyle Width="30px" Wrap="False" />
            </asp:BoundField>
         <asp:BoundField DataField="Break2Begun" HeaderText=" Break2 Start" SortExpression="Break2Begun">
                <ItemStyle CssClass="gItmTxt" HorizontalAlign="Left" Height="21px" Width="30px" Wrap="true"/>
                <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" HorizontalAlign="Left"
                    Width="30px" Wrap="False" />
                <FooterStyle Width="30px" Wrap="False" />
            </asp:BoundField>
         <asp:BoundField DataField="Break2End" HeaderText=" Break2 End" SortExpression="Break2End">
                <ItemStyle CssClass="gItmTxt" HorizontalAlign="Left" Height="21px" Width="30px" Wrap="true"/>
                <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" HorizontalAlign="Left"
                    Width="30px" Wrap="False" />
                <FooterStyle Width="30px" Wrap="False" />
            </asp:BoundField>
          <asp:BoundField DataField="Break2Duration" HeaderText=" Break2 Duration" SortExpression="Break2Duration">
                <ItemStyle CssClass="gItmTxt" HorizontalAlign="Left" Height="21px" Width="30px" Wrap="true"/>
                <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" HorizontalAlign="Left"
                    Width="30px" Wrap="False" />
                <FooterStyle Width="30px" Wrap="False" />
            </asp:BoundField>--%>
          </Columns>
            </asp:GridView>

       </div>
       </div>
       </div>
       <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:15px;">
                               			
        <asp:Button ID="Btnadd" runat="server" Text="Add " onclick="Btnadd_Click" 
        type="button" class="btn btn-success " />     &nbsp;&nbsp;           
                                			
        <asp:Button ID="Button2" runat="server" Text="Import From CSV" onclick="Button2_Click" 
        type="button" class="btn btn-warning text-white " />&nbsp;&nbsp;
        <asp:Button ID="BtnDel" runat="server" type="button" Text="Delete" onclick="BtnDel_Click" 
           class="btn btn-danger"
           /><i  class="fa fa-trash-o;"></i>&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" 
            Text="Close" class=" btn btn-danger"
            onclick="Button1_Click"  /><i></i>
       </div>
                </div>
              </div>
   

 
  
 

       
  </div>
 
    

     <link rel="stylesheet" type="text/css" href="css/colors/orange.css" id="colors">
    <link rel="stylesheet" type="text/css" href="css/animate.css">
    <link href="Gridstyle.css" rel="stylesheet" type="text/css" />
     <script src="js/jquery-1.8.3.min.js"
       type="text/javascript"></script>

</asp:Content>
